#ifndef WHERECOMM_H
#define WHERECOMM_H
#include "Table.h"
#include <string>
#include "Cell.h"
using std::string;

class WherePart
{
public:
	WherePart();
	~WherePart();
	void selectRows(const string &str, Table* table);
	bool compareCell(const string &s_operator, const string &data, Cell* p_cell, int type);
	vector<Row *> getSelectedRows();
	vector<int> getSelectedRowsIndex();
private:
	vector<Row *> selectedRows;
	vector<int> selectedRowsIndex;
	Helper* helper;
};

#endif
